package com.djl.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @program: cloud
 * @description:
 * @author: Mr.dai
 * @create: 2021-09-24 14:46
 **/

@Component
public class PaymentFallbackService implements PaymentHystrixService {


    @Override
    public String paymentInfo_Ok(Integer id) {
        return "-----PaymentFallbackService fall back-paymentInfo_OK , (┬＿┬)";
    }

    @Override
    public String timeout(Integer id) {
        return "-----PaymentFallbackService fall back-paymentInfo_TimeOut , (┬＿┬)";
    }
}


